const unsigned int CC_BLACK =		0xFF000000;
const unsigned int CC_WHITE =		0xFFFFFFFF;
const unsigned int CC_RED =			0xFFFF0000;
const unsigned int CC_GREEN =		0xFF00FF00;
const unsigned int CC_BLUE =		0xFF0000FF;
const unsigned int CC_GRAY =		0xFF888888;
const unsigned int CC_YELLOW =		0xFFFFFF00;
const unsigned int CC_CYAN =		0xFF00FFFF;
const unsigned int CC_PINK =		0xFFFF00FF;

namespace Base2DShareVars
{
	unsigned char ucr,ucg,ucb,uca;
	float fr,fg,fb,fa;

	int mode;

	void ColorCaire();

	bool IsTFontStateBlend();

	int begined2dcalls;
	unsigned char blendmode;
}

void Color(unsigned char r,unsigned char g,unsigned char b);

void Color(unsigned char r,unsigned char g,unsigned char b,unsigned char a);

void Color(unsigned int colorRGBA);

void Colorf(float r,float g,float b);
void Colorf(float r,float g,float b,float a);

void Blend(unsigned char mode);

void Begin2D();
void End2D();
void Translate2D(float x,float y);
void Turn2D(float angle);
void Scale2D(float x,float y);
void Scale2D(float value);

void ClearScreen();